package com.eliteams.quick4j.app.model;

/**
 * 
 * 封装数据
 *
 */
public class LogData {
	
	private String status;//任务的状态
	
	private String uUid;//任务UUID
	
	private  Integer type;//任务类型:sitemap、rss
	
	private String createTime;//任务的创建时间
	
	private int sum;//该任务下文章url的总数量
	
	private int newData;//该任务下文章url的新数据数量
	
	private int oldData;//该任务下文章url的已存在数据数量

	public LogData() {
		super();
	}

	public LogData(String status, String uUid, Integer type, String createTime, int sum, int newData, int oldData) {
		super();
		this.status = status;
		this.uUid = uUid;
		this.type = type;
		this.createTime = createTime;
		this.sum = sum;
		this.newData = newData;
		this.oldData = oldData;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getuUid() {
		return uUid;
	}

	public void setuUid(String uUid) {
		this.uUid = uUid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getSum() {
		return sum;
	}

	public void setSum(int sum) {
		this.sum = sum;
	}

	public int getNewData() {
		return newData;
	}

	public void setNewData(int newData) {
		this.newData = newData;
	}

	public int getOldData() {
		return oldData;
	}

	public void setOldData(int oldData) {
		this.oldData = oldData;
	}

	@Override
	public String toString() {
		return "LogData [status=" + status + ", uUid=" + uUid + ", type=" + type + ", createTime=" + createTime
				+ ", sum=" + sum + ", newData=" + newData + ", oldData=" + oldData + "]";
	}
}
